/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.util;

import java.io.Serializable;

/**
 *
 * @author Jorge
 */
public class Message implements Serializable {
    
    public static final int  MESSAGE = 1,
            ADD_CHAT = 2,
            REMOVE_CHAT = 3,
            UPDATE_NUM_CLIENTS = 4;

    private int code;
    private Object content;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }



}
